package com.bzframework.bookkeeping.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bzframework.core.entity.GenericEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author bingzhong
 * @Date 2025/11/2
 * 房间玩家关联表
 */
@Getter
@Setter
@TableName("bz_bookkeeping_room_player")
public class BookkeepingRoomPlayerEntity extends GenericEntity<String> {

    @Schema(description = "房间ID")
    private String roomId;

    @Schema(description = "用户ID")
    private String userId;

    @Schema(description = "玩家在房间中的名称")
    private String playerName;

    @Schema(description = "加入时间")
    private Long joinTime;

    @Schema(description = "状态：1-在房间，2-已离开")
    private Integer status;

    @Schema(description = "目前金额")
    private Double amount;

}
